to_dict# Rules.to_dict() → dict[str, Any]# Alias for model_dump. Returns: dictJSON-serialisable dictionary.