There are a couple of options to handle this situation. LEM as Kookies suggested, or MQ2React. I use React with the following:
[CODE title="Bard Rally Pause for MQ2React"] BardRallyPause:
action: >-
/multiline ; /mqp on ; /twist off ; /alt act 1136 ; /sit ; /timed
400 /mqp off
condition: >-
${Me.CombatState.NotEqual[COMBAT]} && ${Me.AltAbilityReady[Rallying
Solo]} && ${Me.PctMana} < 30 || ${Me.CombatState.NotEqual[COMBAT]}
&& ${Me.AltAbilityReady[Rallying Solo]} && ${Me.PctEndurance} < 30[/CODE]
That pauses kissassist, stops the twist activates Rallying Solo, and sits the bard to med while regening mana and endurance. It will trigger once the bard goes below 30% mana or endurance and Rally Solo is ready and the bard is not in active combat. It keeps the macro paused for a little bit longer than the duration of Ralying Solo then it will automatically unpause. It has been an awesome addition at helping my bard be able to maintain mana and endurance for long periods of grinding.