Make rules understand @viewport

Several rules were incorrectly picking up on width: and potentially other directives inside @viewport rules