If you don't have rum extract, replace it with vanilla extract or almond extract. It obviously won't taste the same, but either of those extracts will add a nice flavor to the finished cookie.