In saucepan heat half of the syrup over medium temperature. Add butter, salt, pepper, and cayenne. Add nuts and cook 3 minutes, nuts will begin to stick together. Add remaining 1/2 of the maple syrup and cook until it begins to caramelize. Add the rosemary leaves and toss. Immediately remove from the heat. Cool on a silpat sheet.