RulesManager Boolean to Int