Start by washing the rice. Add the rice into a bowl and add water and mix it with your hand. Throw the water away.
Repeat this process until the water is not cloudy anymore, but transparent. Drain well and let the rice rest for 10 minute to dry (use a strainer here to help drain the water completely).
In a medium-high heat pan, add the oil. When the oil heats up, garlic and salt and sauté for a minute. (do not burn the garlic)
Add the rice and stir fry it for 1 minute. (this is a very important step)
Add the boiling water and mix it well, to make sure no rice is stuck at the bottom of the pot.
Once the water is boiling, turn off the heat to low and partially close the lid. Do NOT stir the rice from now on until it has absorbed all the water. The time depends on the pan, but it's usually around 15-20 minutes.
To check that the rice has absorbed all the water, gently pry a few grains of rice away from the side with a fork until you see the bottom of the pan. If there is still water at the bottom, wait a few more minutes.When the water dries up, cover the pan and let the rice rest for 10 minutes - this step is essential. Enjoy your perfectly made rice.