mapper.addRule("Engine/Host/Context/Resources", mapper.objectCreate("org.apache.tomcat.core.StandardResources", "className"));
mapper.addRule("Engine/Host/Context/Resources", mapper.setProperties());
mapper.addRule("Engine/Host/Context/Resources", mapper.addChild("setResources", "org.apache.tomcat.Resources"));
mapper.addRule("Engine/Host/Context/Valve", mapper.objectCreate(null, "className"));
mapper.addRule("Engine/Host/Context/Valve", mapper.setProperties());
mapper.addRule("Engine/Host/Context/Valve", mapper.addChild("addValve", "org.apache.tomcat.Valve"));
mapper.addRule("Engine/Host/Loader", mapper.objectCreate("org.apache.tomcat.core.StandardLoader", "className"));
mapper.addRule("Engine/Host/Loader", mapper.setProperties());
mapper.addRule("Engine/Host/Loader", mapper.addChild("setLoader", "org.apache.tomcat.Loader"));