Both methods can lead to perfectly cooked rice as long as you follow the right ratios for the type of rice you are making but cooking on the rice cooker has the added benefit that you do not need to constantly watch the rice as it cooks.  It will stop cooking automatically when the rice is done, and switch to a “keep warm” mode.  This is especially handy when you are making a lot of dishes at the same time.