When checking whether a rule matches, it just uses the data object
instead of the two objects.  (It's kinda pointless)
Merge pull request #6 from dashk/refactoring

When checking whether a rule matches, it just uses the data object