Your initial implementation when the bot detected the buff it would hard cast Surging mist 2 or 3 times depending on your haste. This is good for combo point generation at a range, but surging is best to never be hard cast. The best implementation should be while in melee range and assuming no one needs emergency healing to immediately use Jab, then tiger punch for the muscle memory proc. That should be repeated until the buff disappears. You should be able to Net 8% mana return during the gem proc.
This is how i use the gem with your cc.
I will normally pause the bot and i have a macro made up to stop casting then do a cast sequence of Jab, Tiger Punch, Jab, Tiger Punch. If I am not in melee range I will often use *****ling Jade Lightning during the proc, (it will not take priority over using any of my healing except soothing mists.) the proc will stop mana from being used during the entire channel of CJL so i will normally restart the channel right before the buff wears off and i will do a decent chunk of DPS and you get a bunch of raid healing from eminence.
This is how i use the gem with your cc.
I will normally pause the bot and i have a macro made up to stop casting then do a cast sequence of Jab, Tiger Punch, Jab, Tiger Punch. If I am not in melee range I will often use *****ling Jade Lightning during the proc, (it will not take priority over using any of my healing except soothing mists.) the proc will stop mana from being used during the entire channel of CJL so i will normally restart the channel right before the buff wears off and i will do a decent chunk of DPS and you get a bunch of raid healing from eminence.