protected void assertSemantics(String result, String input, String baseName) {
        Query query = new Query(QueryTestCase.httpEncode("?query=" + input + "&tracelevel=0&tracelevel.rules=0&rules.rulebase=" + baseName));
        doSearch(searcher, query, 0, 10);
        assertEquals(result, query.getModel().getQueryTree().getRoot().toString());
    }
Tests creating a set of rule bases (the same set as in inheritingrules) from config

@author bratseth
container-search/src/test/java/com/yahoo/prelude/semantics/test/ConfigurationTestCase.java