async def METHOD_NAME(
    self, rules: Union[object, object] = values.unset
) -> RecordingRulesInstance:
    """
    Asynchronously update the RecordingRulesInstance
    :param rules: A JSON-encoded array of recording rules.
    :returns: The created RecordingRulesInstance
    """
    data = values.of(
        {
            "Rules": serialize.object(rules),
        }
    )
    payload = await self._version.METHOD_NAME(
        method="POST",
        uri=self._uri,
        data=data,
    )
    return RecordingRulesInstance(
        self._version, payload, room_sid=self._solution["room_sid"]
    )