Two rice "secrets" that I use. For regular white rice, I do it like pasta. Just boil a big pot of water, and throw the rice in, leave it uncovered, let is boil, taste if after 10 minutes (rice can vary a lot), cook it some more if necessary, drain it in a colander when it's ready...pretty foolproof. For basmati, I rinse the rice as usual, then parboil it for 5 minutes in boiling water, then drain, but not too too thoroughly. Put it in a heavy pot, put foil over the top and crinkle, and then the lid, and bake in a pre-heated slow oven (300 works fine) for at least 45 minutes, but longer is okay too, I've found. I usually add a little oil or some butter. And some spices if that's what I'm wanting (coriander seeds, peppercorns, cardamon, kalonji, etc)