Well, there's a menu item that expands/collapses all selected actions. It's under the View menu,
This next is not an answer to your question, but in case you haven't gotten this macro, you should:
Sometimes, where the group gets inserted one action below where you want it, but just drag it up. And don't be impatient when you run it - give it a second or two to finish (I have to remind myself of this).
The point in this is that, obviously it's easier to collapse the group than a bunch of actions.