Cooking rice grains in a small amount of fat before adding liquid is called toasting.
How to accomplish this:
Warm butter, olive oil, or coconut oil in a saucepan on medium heat.
Put the rice in and stir for 2-3 minutes until it looks a bit see-through and smells nutty.
Next, add your liquid (water or broth) and cook as you normally would.