public void makeReferences(RuleBase ruleBase) {
        namedCondition = ruleBase.getCondition(conditionName);
        if (namedCondition == null) { // Then this may reference some automata value, if we have an automata
            if (ruleBase.usesAutomata())
                automataLookup = true;
            else
                throw new RuleBaseException("Referenced condition '" + conditionName +
                                            "' does not exist in " + ruleBase);
        }
    }
Returns the name of the referenced rule, never null
container-search/src/main/java/com/yahoo/prelude/semantics/rule/ConditionReference.java