Optimal Inflation-Targeting Rules