Only ensure a valid result if the rule matches
Merge pull request #1 from ajgarlag/feature/rule-interface

Only ensure a valid result if the rule matches