public static RuleBase createFromFile(String ruleFile, String automataFile, Linguistics linguistics)
            throws java.io.IOException, ParseException {
        return new RuleImporter(linguistics).importFile(ruleFile, automataFile);
    }
Creates a rule base from file

@param  ruleFile the rule file to read. The name of the file (minus path) becomes the rule base name.
@param  automataFile the automata file, or null to not use an automata
@throws java.io.IOException if there is a problem reading one of the files
@throws ParseException if the rule file can not be parsed correctly
@throws RuleBaseException if the rule file contains inconsistencies
container-search/src/main/java/com/yahoo/prelude/semantics/RuleBase.java