In medium saucepan, combine tomatoes, vinegar, salt, and ground chiles. Simmer for 15 minutes and set aside. In skillet, heat oil and brown onions. Add shrimp and cornstarch and cook until prawns are pink. Add this mixture to the tomato mixture along with the parsley and green chiles. Season with salt and pepper. Cook until heated through. Serve over rice.