### Elasticsearch Version

8.10+

### Installed Plugins

_No response_

### Java Version

_bundled_

### OS Version

Any

### Problem Description

Combining query rules with numeric and fuzzy text matches can lead to errors when fuzzy matches should be matched on.

### Steps to Reproduce

Example script to reproduce: 
```
POST /test/_doc/1
{
  "title": "the old man and the sea"
}

POST /test/_doc/2
{
  "title": "a tale of two cities"
}

POST /test/_doc/3
{
  "title": "the great gatsby"
}

PUT /_query_rules/test-ruleset
{
  "rules": [
    {
      "rule_id": "1",
      "type": "pinned",
      "criteria": [
        {
          "type": "fuzzy",
          "metadata": "foo",
          "values": ["foo"]
        }
      ],
      "actions": {
        "ids": [
          "1"
        ]
      }
    },
    {
      "rule_id": "2",
      "type": "pinned",
      "criteria": [
        {
          "type": "fuzzy",
          "metadata": "foo",
          "values": ["bar", "baz"]
        }
      ],
      "actions": {
        "ids": [
          "2"
        ]
      }
    },
      {
      "rule_id": "3",
      "type": "pinned",
      "criteria": [
        {
          "type": "lte",
          "metadata": "foo",
          "values": [10000]
        }
      ],
      "actions": {
        "ids": [
          "3"
        ]
      }
    }
  ]
}

POST /test/_search
{
  "query": {
    "rule_query": {
      "organic": {
        "multi_match": {
          "query": "fooo" // included a typo
        }
      },
      "match_criteria": {
        "foo": "fooo"
      },
      "ruleset_id": "test-ruleset"
    }
  }
}
```

The rule query returns the following error: 
```
{
  "error": {
    "root_cause": [
      {
        "type": "illegal_argument_exception",
        "reason": "Input [fooo] is not valid for CriteriaType [lte]"
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "Input [fooo] is not valid for CriteriaType [lte]"
  },
  "status": 400
}
```

### Logs (if relevant)

_No response_
x-pack/plugin/ent-search/src/main/java/org/elasticsearch/xpack/application/rules/QueryRuleCriteria.java
this.criteriaType = in.readEnum(QueryRuleCriteriaType.class);
        if (in.getTransportVersion().onOrAfter(CRITERIA_METADATA_VALUES_TRANSPORT_VERSION)) {
            this.criteriaMetadata = in.readOptionalString();
            this.criteriaValues = in.readOptionalCollectionAsList(StreamInput::readGenericValue);
        } else {
            this.criteriaMetadata = in.readString();
            this.criteriaValues = List.of(in.readGenericValue());
        }
    }
    @Override
    public void writeTo(StreamOutput out) throws IOException {
        out.writeEnum(criteriaType);
        if (out.getTransportVersion().onOrAfter(CRITERIA_METADATA_VALUES_TRANSPORT_VERSION)) {
            out.writeOptionalString(criteriaMetadata);
            out.writeOptionalCollection(criteriaValues, StreamOutput::writeGenericValue);
        } else {
            out.writeString(criteriaMetadata);
            out.writeGenericValue(criteriaValues().get(0));
        }
    }
    private static final ConstructingObjectParser<QueryRuleCriteria, String> PARSER = new ConstructingObjectParser<>(
        "query_rule_criteria",
        false,
        (params, resourceName) -> {
            final QueryRuleCriteriaType type = QueryRuleCriteriaType.type((String) params[0]);
            final String metadata = params.length >= 3 ? (String) params[1] : null;
            @SuppressWarnings("unchecked")
            final List<Object> values = params.length >= 3 ? (List<Object>) params[2] : null;
            return new QueryRuleCriteria(type, metadata, values);
        }