private void doSearch(Searcher searcher, Query query, int offset, int hits) {
        query.setOffset(offset);
        query.setHits(hits);
        createExecution(searcher).search(query);
    }
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