In food processor, blend shallots, garlic, chiles, salt and tomato to form a paste. Heat oil in skillet and stir-fry the paste with galangal and lemongrass for 2 minutes. Add chicken and fry for 5 minutes. Add lemon juice and water and cook, covered, for 30 minutes. Serve with rice.