form.add(accessModeChoice =
new DropDownChoice<AccessMode>("accessMode", MODES, new AccessModeRenderer()));
accessModeChoice.setRequired(true);
form.add(rolesFormComponent = new RuleRolesFormComponent("roles",
new PropertyModel(rule, "roles")).setHasAnyRole(
rule.getRoles().contains(GeoServerRole.ANY_ROLE.getAuthority())));
// build the submit/cancel
form.add(new SubmitLink("save") {