new ManageRulesTests + refactoring