Keynes–Ramsey rule — Optimality condition for the rate of change of consumption