Support scoping of external at-rules

will be done in the converter in my next PR