HashMap<ElementSelector, Action> rulesMap = new HashMap<ElementSelector, Action>();
public void doTest(String filename) throws Exception {
// rule store is case insensitve
rulesMap.put(new ElementSelector("x/inc"), new IncAction());
TrivialConfigurator trivialConfigurator = new TrivialConfigurator(rulesMap);
trivialConfigurator.setContext(context);
trivialConfigurator.doConfigure(filename);