I use an Asian method of cooking rice, it takes some trial and error as cooking times will depend on your cooker, type of pan etc but it only took 2 attempts to get it perfect. It produces seperate, fluffy grains of rice but not too soft and not at all mushy. Ideally you need a pan with a lid that vents off a small amount of steam but not much as it really helps in knowing when the rice is done. I generally use basmati rice but this method will work with most other types of white rice.
Firstly bear in mind rice increases in volume by 2.5 to 3 times during cooking, so I just estimate an amount bearing that in mind. If you're not sure though I find 2 teacups full of rice is ample for 4 people. Then wash the rice really well in a sieve, using warm water will get rid of the excess starch better than cold, it's important to get rid of this as this is what makes rice sticky and mushy when cooked which is not what you want. You could alternatively soak the rice in cold water for two hours beforehand, and then quickly rinse before cooking.
Add the rice to your pan on its own, I don't add salt or anything although on occasion I'll add a thin slice of lemon or lime. Don't add any oil or anything. Then add enough cold water so that when you insert a finger into the pan, when your finger is touching the rice at the bottom your finger is only submerged to the first knuckle crease the one slightly below your fingernail. Then bring the pan to the boil as quickly as possible over a high heat, when the rice is boiling stir once and then put the lid on the pan. Quickly put the heat down to very low and cook for approximately 10 minutes or until when you lift the lid off all the water has been absorbed. This is where a pan with a slight steam vent comes in handy as you can tell the rice is ready when the steam coming out becomes very scant and hard to see. Test the rice, if it's slightly under done don't worry. Take the pan away from the heat quickly put a folded tea towel over the top of the pan and then replace the lid on top, the residual heat and steam in the pan will finish cooking the rice in 15-20 minutes. When the rice is done fluff up with a fork and serve ASAP xx