public RuleBase importFile(String fileName, String automataFile) throws IOException, ParseException {
        var ruleBase = privateImportFile(fileName, automataFile);
        ruleBase.initialize();
        return ruleBase;
    }
Imports semantic rules from a file

@param fileName the rule file to use
@param automataFile the automata file to use, or null to not use any
@throws java.io.IOException if the file can not be read for some reason
@throws ParseException if the file does not contain a valid semantic rule set
container-search/src/main/java/com/yahoo/prelude/semantics/RuleImporter.java