1Rinse the rice in cold water until the water runs clear, then drain it.
2Put the rice in a heavy pot with 500 ml of water and bring to a boil over medium-high heat, then simmer for 5 minutes until the water is mostly absorbed.
3Add 800 ml of the milk and the sugar, and simmer on low heat for 25 minutes, stirring every few minutes so it does not catch on the bottom.
4Mix the corn starch with the remaining 200 ml of milk until smooth, then pour it into the pot while stirring.
5Keep stirring on low heat for 5 more minutes until the pudding thickens enough to coat the back of a spoon.
6Stir in the vanilla, then pour into 4 small bowls or glasses.
7Let cool to room temperature, then chill for at least 1 hour.
8Sprinkle with cinnamon and pistachios before serving.