Logic and Rational Interaction