You can use the Quaternion.Inverse() function. This gives back the opposite rotation. So it should reverse. You can use it this way:
transform.rotation = Quaternion.Inverse(target.rotation);
Source: http://docs.unity3d.com/Documentation/ScriptReference/Quaternion.Inverse.html