Can RS2 groundwater analysis be used for rock?

Yes, the groundwater analysis in RS2 is also valid for rock masses, if you can consider the rock as a porous media.

RS2 does not consider flow through joints.