Rinse and drain the rice. Simmer it slowly in the milk, covered, until tender. Add the vanilla.
Whip the egg yolks and sugar together. Stir in a little of the hot milk from the rice mixture. Then stir the egg yolk mixture into the rice mixture. Cook very slowly for a few minutes, stirring constantly, until it is lightly thickened.