It should be fairly easy to recreate the behavior:
All rules will now have their group tags removed.
When viewing the generated API calls, it is obvious that the [group-tag] key is not set and therefore it will be "deleted" when editing the ruleset.
So I guess it is necessary that the group-tag is imported from the Panorama config so it can be set when generating the API calls?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!