small simplification to custom validation rule