How use "Transform" class in WATO rules

In addition to @r.sander’s suggestion, i have some rules where most parameters are optional.
An if possible all the parameters are only entries in a plain dictionary.
The only problem i had are with removed parameters, only add new ones is no problem then.