you need to script out following commands in language of your choice:
1. login into device,
2. issue commands:
set cli config-output-format set
delete rulebase security rules YOUR_RULE_NAME profile-setting profiles vulnerability
You need to wait for output of the commit to verify you deleted that part of the rule properly and of course you need to replace "YOUR_RULE_NAME" with exact title of your own rule, but other than that you don't need much more.
In order to set the profile back, you need a command
set rulebase security rules YOUR_RULE_NAME profile-setting profiles vulnerability YOUR_VULNERABILITY_PROFILE_NAME
and all other mentioned above (set cli config-output, configure, set..., commit, exit, exit). Succesfull commit should always return a string "Configuration committed successfully" among other stuff.
... View more