In a small saucepan, bring rice, a pinch of salt, and 2 cups water to a boil. Stick cloves into onion halves and add to pot along with chile. Cover, reduce heat to a simmer, and cook until rice is tender, 30–40 minutes. Let stand off heat, covered, 5 minutes. Fluff with a fork before serving.
*Makes 4 servings.