Fixes error in #102

Check for defined on rule.selectors
Merge pull request #103 from stockholmux/master

Fixes error in #102