public static Rule fromWire(WireRule wireRule) {
        List<Condition> conditions = wireRule.andConditions == null ?
                List.of() :
                wireRule.andConditions.stream().map(Condition::fromWire).toList();
        Optional<RawFlag> value = wireRule.value == null || wireRule.value.isNull() ?
                                  Optional.empty() :
                                  Optional.of(JsonNodeRawFlag.fromJsonNode(wireRule.value));
        return new Rule(value, conditions);
    }
Returns a copy of this rule without those conditions that can be resolved by the fetch vector.  Returns empty
if any of those conditions are false.
flags/src/main/java/com/yahoo/vespa/flags/json/Rule.java