mapping service, rules parsing, xml generation