refoctoring + Functional Tests: ManageRulesTest: 5.1.7