Locate the flow ruleset (Where is my flow ruleset?) and in the context of the flow ruleset, choose New Rule Script.
In the dialog box that appears, enter the name of the rule script and choose OK.
Expand the Rule Scripts folder to view the Rule Script node.
Double-click the rule script node to open the rule script editor.
The rule script editor allows you to :
Create local variables or definitions
Note
In the rule script editor, choose the Add icon to create a definition specific to the rule script.