Whisk all-purpose flour, baking powder, cinnamon, nutmeg, and salt together in medium bowl.
Beat softened butter and granulated sugar with mixer for two minutes until light and fluffy.
Beat in egg yolks, one-quarter cup eggnog, vanilla extract, and rum extract until smooth.
Add dry ingredients gradually, mixing on low speed just until soft dough forms.
Scoop two-tablespoon balls onto parchment-lined baking sheets two inches apart.
Bake at 350 degrees Fahrenheit for ten to twelve minutes until edges are set.
Cool cookies on wire rack completely before preparing frosting.
Beat powdered sugar, softened butter, and remaining eggnog into thick creamy frosting.
Spread frosting generously over cooled cookies and dust with freshly grated nutmeg.