Not entirely sure on this, but I think it will depend a bit in terms of the rotation of what (as there may be rotations of an element inside something rotated if that makes sense).
I suspect in most simple cases something like this would work....
myrectobject.transform().localMatrix.split().rotate;
Basically transform() will return an object showing the transform matrix object (combined rotations/scales/translates). See
http://snapsvg.io/docs/#Element.transform for localMatrix, and split() splits the matrix into its separate rotations/translates/scales (probably worth doing a quick read up on svg matrices if not come across them before).
Ian