How use "Transform" class in WATO rules

There is a special “ValueSpec” class Transform that can be used if you need to change your WATO ruleset definition. There should be some examples in the checkmk code.

You basically define a function that “transforms” the old WATO rule value to the new definition.