You cant have it auto switch between the 2 of them but if you want them on the same button when both are talented and not have it locked in a help/harm macro thatll force you into hostile swarms only; you can make it into a shift macro.
I pasted a couple in there, including a convoke swarm macro you can just switch the convoke out with rejuv.