First, take the ingredients for the salted rim and mix evenly. Use a lime to wet the rim of a tall glass and dip into spice mixture.
Next, take remaining ingredients and combine in a shaker. Strain mixture into glass with ice and garnish with a sprig of roasted rosemary. (To roast the rosemary, light the herb on fire and quickly blow out the flame.)