Kokugan is literally just Pym Particles. The Rinnegan has a diverse arsenal that has many practical applications, even for an inexperienced user it's just so powerful that it instantly makes them a threat. Take Nagato before Yahiko's death and Sasuke in the war as examples.