In the bowl of a food processor, combine the rosemary leaves, garlic, salt, and pepper and pulse to finely chop, scraping down the bowl as necessary. Add the pomegranate molasses and oil and pulse to make a coarse, wet paste, scraping down the bowl as necessary.