Ruling Passions: A Theory of Practical Reasoning