public void addCondition(NamedCondition namedCondition) {
        namedConditions.put(namedCondition.getName(), namedCondition);

        Condition condition = namedCondition.getCondition();
        Condition superCondition = findIncludedCondition(namedCondition.getName());
        resolveSuper(condition, superCondition);
    }
Adds a named condition which can be referenced by rules
container-search/src/main/java/com/yahoo/prelude/semantics/RuleBase.java