Had to learn how to do this recently cos I'm eating more rice than ever. Measure 1 cup of rice and wash it, sieve it, wash it, sieve it, till most of the cloudiness comes out. Then, pour the rice in a pan with a bit of oil, put the heat on and stir it about a bit for a couple of minutes (This makes it not stick and go mushy) Then add 1.5/2 cups of boiled kettle water and put it in the pan and put the pan lid on and cook until the water has evaporated, 15/20 mins? Turn the heat off and then, I don't know why, but open the lid and put a tea towel over the cooked rice and replace the lid and leave it for 5 minutes. Bang done.
(Could also add pepper and/or vegetable cube too)