public ReferencedMatches getReferencedMatches(String name) {
        for (ReferencedMatches matches : referencedMatchesList) {
            if (name.equals(matches.getContextName()))
                return matches;
        }
        return null;
    }
Returns the referenced matches for a context name, or null if none
container-search/src/main/java/com/yahoo/prelude/semantics/engine/RuleEvaluation.java