Add `state` validation rule