Add attributeName method to RuleBase