In a dry saute pan, add the rice and cook over medium high heat, stirring constantly until the rice has a deep brown colour. Remove from heat and grind into a powder in a mortar and pestle or using a coffee grinder.
Using a mortar and pestle, add the palm sugar and pound to break up any lumps into a powder. Add fish sauce and lime juice, and swirl to dissolve the sugar. Stir in shallots and chili flakes.
When ready to serve, stir in toasted rice powder and fresh herbs.
