Is there a way to prevent the player and AI from spending more than they can afford to prevent all the rebellions?