Remove from heat and discard rosemary. Add ½ cup sugar (this is where you could add an extra ¼ cup sugar if you like things sweet) and the rhubarb.

Return to heat just until the mixture is easy to pour. Don’t worry too much about the consistency. Unlike regular caramels, this one doesn’t have to be perfect since it’s going to be baked in the oven.