Added rule validations checked unit test.