doc for validation rule