Added a validation rule in rules test case