Added 'domain' and 'required_unless' rules