In a small macroeconomic model of the Colombian economy I investigate the problem of selecting a policy rule that is consistent with inflation targeting. I spell out the characteristics of the optimal feedback and output parameters in the rule, as well as for the optimal forecasting horizon for inflation targeting. Using stochastic simulations of the model it is found that, as expected, rules that use forecasts of inflation rather than just contemporaneous inflation have stabilization properties