Optimal Monetary Policy in the Generalized Taylor Economy