Unknown at-rules support.

Fixes issues #1322 and #1054.