Added attribute model to RulesEngine