to_dict#

Rules.to_dict() dict[str, Any]#

Alias for model_dump.

Returns:
dict

JSON-serialisable dictionary.