UV rotation in tile texture atlas

I am using the Texture below. for terrain I want to display and rotate texture at a specific index. Using the index to get the UV offset succeeded.
But I do not know how to Rotate. CustomRotation rotates the texture itself, which is not what I want Is there a way to rotate only the texture at a specific index?