In the Process Rules module, rules are defined which can then be assigned to individual process steps in the Process Model Templates module.
In the Process Model Templates module, you can define with the help of the process rules whether a check is to be done or a process action is to be carried out for a process step.
If you select Class = "Python", a template is automatically copied to the Rules field in accordance with your selection in the Rule type field. The template can be edited subsequently.
If the rule is written in Python you can switch to the window for macro editing via the Open Python macro editing button in which the rule can be defined. The button can be found next to the Rule field.