Firm's R&D Behavior Under Rational Expectations