/cast Bestial Wrath
/cast [@pettarget,harm,exists] Rabid[/codebox]
In order for this macro to work effectively you must disable auto-casting of Rabid by your Pet. You do that by simply opening up your pet’s spell book and right clicking the Rabid spell so that it no longer has the glowing highlight spinning around it.
I use this macro to fire off Rabid immediately after Bestial Wrath when playing Beast Master spec. Rabid is a slightly shorter cool down that Beastial Wrath so it’s always ready when Beastial Wrath is ready.