In a Pakistani kitchen, good rice means long, separate, fragrant grains that are tender all the way through but never sticky. That is why basmati, grown in the Punjab plains of Pakistan and India, is the default for almost everything from plain sada chawal to wedding biryani. Its grains lengthen dramatically as they cook, and the way you treat them before and during cooking decides whether they stay whole.
There are two basic methods. Boil-and-drain cooks the rice in a large pan of salted water, like pasta, then drains it; it is forgiving and is the method behind biryani. Absorption cooks the rice in a measured amount of water or stock that it soaks up completely; it is the method behind pulao, zeera rice and most plain rice at home. Both finish with a short rest under a lid, or on dum.
The quantities below are given as ranges, because the right amount of water depends on the age and brand of rice, how long it soaked, the width of the pot and how tight the lid is. Start in the middle, note what happened, and adjust next time.