add ignoring of empty rulesets. Closes #7