Locate the flow ruleset and in the context of the flow ruleset, choose New Rule Script .
For more information, see Locating the Flow Ruleset
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
In the rule script editor, choose the Add icon to create a definition specific to the rule script.