Added validation rule.