Rotating marker in OpenLayers
As @dariapra mentioned. Your better off using a vector feature so you can take advantage of the rotation
property.
You will find no drawbacks from switching over. You will see that using the more flexible feature vector will be more convenient.
Use the externalGraphic
style property to designate the marker image.