Adding support for unknown at rules. Fixed serious bug in nested rulesets
handling too. #206