How to ADD new iRule to a virtual server in CLI without overwrite the existing ones?

In 11.5.1 HF7 Could someone please confirm why modify ltm virtual rules add { IRULE_name } is not working?

The same add (or add, delete, modify, none, replace-all-with) is working well with for example profiles: modify ltm virtual profiles add { PROFILE_name }

When this bug/feature(?) will be corrected? Is there a version yet?

What is the workaround? I would need to ADD and/or DELETE a single iRule from several VS without touching the other added iRules.

Thanks in advance!

you need to re-add the iRules that were already there. I believe this does not use add/delete because sequence matters when assigning iRules to a VS. They will be ordered with the first rule in the command being the top/first rule in the VS - the example below would result in the VS having rules ordered:

  1. new-rule
  2. old-rule1
  3. old-rule2
modify ltm virtual abc-vs rules { new-rule old-rule1 old-rule2 }