@Before
public void setUp() throws Exception {
HashMap<ElementSelector, Action> rulesMap = new HashMap<ElementSelector, Action>();
rulesMap.put(new ElementSelector("x"), new NOPAction());
rulesMap.put(new ElementSelector("x/stack"), stackAction);
rulesMap.put(new ElementSelector("x/property"), new PropertyAction());
rulesMap.put(new ElementSelector("*/if"), new IfAction());
rulesMap.put(new ElementSelector("*/if/then"), new ThenAction());
rulesMap.put(new ElementSelector("*/if/then/*"), new NOPAction());
rulesMap.put(new ElementSelector("*/if/else"), new ElseAction());
rulesMap.put(new ElementSelector("*/if/else/*"), new NOPAction());