in a small bowl, combine the optional rosemary (or any other added seasonings), maple syrup, melted butter, salt, vanilla, and cayenne (if you using). gently whisk until blended. pour the mixture over the nuts on the prepared baking sheet. stir well, until all of the nuts are lightly coated.