public boolean matches(RuleEvaluation e) {
        e.setMatchReferences(matchReferences);
        return condition.matches(e);
    }
Returns whether this rule matches the given query
container-search/src/main/java/com/yahoo/prelude/semantics/rule/ProductionRule.java