The 4 percent rule is widely used to manage retirement withdrawals, but such a static rule does not mesh well with the dynamics of the market.