mapper.addRule("Engine/Host/Manager", mapper.objectCreate("org.apache.tomcat.session.StandardManager", "className"));
mapper.addRule("Engine/Host/Manager", mapper.setProperties());
mapper.addRule("Engine/Host/Manager", mapper.addChild("setManager", "org.apache.tomcat.Manager"));
mapper.addRule("Engine/Host/Realm", mapper.objectCreate(null, "className"));
mapper.addRule("Engine/Host/Realm", mapper.setProperties());
mapper.addRule("Engine/Host/Realm", mapper.addChild("setRealm", "org.apache.tomcat.Realm"));
mapper.addRule("Engine/Host/Resources", mapper.objectCreate("org.apache.tomcat.core.StandardResources", "className"));
mapper.addRule("Engine/Host/Resources", mapper.setProperties());