Rye flour--and this recipe calls for medium rye, which is important--lends the cookies a more complex flavor and nuttiness and pairs beautifully with the warm spices. Resist the urge to use plain all-purpose flour. You'll be richly rewarded going with rye flour. Trust me.