Support scoping of external at-rules

@dankurka this visitor (calling from GssResourceGenerator and fby the converter) validates that there is no `@def` `@external` defined in a conditional evaluated at runtime. Maybe we can do it lenient and don't throw an error but removing the node or moving it in the main scope instead ?