Text this: Towards a Logic of Rational Agency.