mapper.addRule("web-app/security-constraint/display-name",
mapper.methodSetter("setDisplayName", 0));
mapper.addRule("web-app/security-constraint/user-data-constraint/transport-guarantee",
mapper.methodSetter("setUserConstraint", 0));
mapper.addRule("web-app/security-constraint/web-resource-collection",
mapper.objectCreate("org.apache.catalina.deploy.SecurityCollection"));
mapper.addRule("web-app/security-constraint/web-resource-collection",
mapper.addChild("addCollection",
"org.apache.catalina.deploy.SecurityCollection"));
mapper.addRule("web-app/security-constraint/web-resource-collection/http-method",
mapper.methodSetter("addMethod", 0));