For the basic rules just google it. But there's a great book called the IRB rule book and it has every single law and rule of rugby. You can get the book or there's a app u can get. Hoped that helped
This is a video of how to play rugby and the basics, very helpful for beginners. If you already know the basics and want to know more detail...