Rules Question

I’m still a beginner and trying to learn official rules. What do you guys think is the most common rules format to learn or go by? For 8 ball and 9 ball.