I just make sure I wash the rice enough times and put the correct amount of rice and water to my rice cooker. And when it's done I let it set for like 10 minutes at least before I fluff it.
Also buy better quality of rice if I want a better end product.
But there are many ways to cook rice nicely, like persian steamed rice or at work we got some really nice rice with the oven.