Add AttributeHelper and factor code to use it
Add attributeName method to RuleBase
Minor changes from review
Switch attribute helper methods to take a rule reference.
Add EnforceHelper per review
Remove moved declaration from header
Merge pull request #127 from aleffert/attribute-factor

Factor attribute checking code and add a new attributeName property to RuleBase