I'm currently implementing CSS 3 2D Transforms in BlueGriffon so I needed a xul control for rotation... It's not totally ironed but it's already very usable (Minefield nightly needed). Feel free to reuse/modify it, it's released under MPL.