remove nested rule sets since they are not a CSS feature
split at-rules
re-arrange @rule testing
tokenize media queries