private static SemanticRulesConfig.Rulebase.Builder create(String name, String rules) {
        var ruleBaseBuilder = new SemanticRulesConfig.Rulebase.Builder();
        ruleBaseBuilder.name(name);
        ruleBaseBuilder.rules(rules);
        return ruleBaseBuilder;
    }
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