Dissolve rice flour in cold milk and pour in a small pot. Add sugar and rosewater. Bring to a boil, stir regularly. Cook and stir over medium heat until fereni thickens, about 30 minutes. Pour into individual dessert dishes and garnish with ground cinnamon and slivered pistachios. Serve cold or hot.