filtering removed rules from stylesheet

otherwise undefined values on the rules array causes errors when calling css-stringify