The are more Ruger Marks in a coffee can than any other gun in the world. They will not go back together the first time you try.
The biggest nightmare of a reassembly I ever had.
Check out ITStactical's channel on YouTube. He has a series of videos on building an AR, including what you need to swap your rail.
Very good vids that are easy to follow.