public void setCondition(int index, Condition condition) {
        conditions.set(index, condition);
    }
Sets the condition at the given index
container-search/src/main/java/com/yahoo/prelude/semantics/rule/CompositeCondition.java