Mix all ingredients in a small pan on medium flame.
Bring to a boil and keep boiling until sugar totally disintegrates. Squeeze the rosemary into the bottom the pan to get it's juices out.
Let cool.