Rational Agents for Artificial Intelligence