While the Search section specifies how to find rule hits in HTTP responses, the ScriptGen section specifies details regarding script generation. All XML paths of attributes described here are relative to: HttpParsingRule\ScriptGen.
The ScriptGen section allows users to specify conditions that restrict the usage of rule hits to script locations where replacement is appropriate, and to exclude locations where rule hits appear purely by coincidence. Additionally, some attributes can be used to instruct the Recorder as to which variable names to use and what comments are to be added to scripts to increase their readability.