The following web site provides info on rooting cuttings. Rosemary will root readily but don't do it in water, use a loose potting medium or perlite. You may need to provide a humid chamber to prevent drying out. Avoid direct sunlight too, just provide a bright area out of direct light.
Note figure 2 for a mini greenhouse structure for rooting.
Q&A Library Searching Tips