Kotlin Client rules deserialization

Hello, when I’m creating rule with facet ordering.
Rule.json

{
  "enabled": true,
  "tags": [
    "visual-editor"
  ],
  "conditions": [
    {
      "filters": "(\"Brand_en_string_mv\":\"213\")"
    }
  ],
  "consequence": {
    "params": {
      "renderingContent": {
        "facetOrdering": {
          "facets": {
            "order": [
              "Brand_en_string_mv"
            ]
          }
        }
      }
    },
    "filterPromotes": true
  },
  "objectID": "qr-1669131461420"
}

And when in Kotlin code I’m calling browseRules()
I’m getting next error:

Encountered unknown key 'renderingContent'.
Use 'ignoreUnknownKeys = true' in 'Json {}' builder to ignore unknown keys.
Current input: {"renderingContent":{"facetOrdering":{"facets":{"order":["Brand_en_string_mv"]}}}}

It seems to me that the problem is that the Kotlin client expects renderingContent not in params, but as a field in consequence.
Thanks