In a lidded saucepot, heat the margarine and saute the onion and garlic for 3 minutes. Pour in the tomatoes and their liquid, parsley, and basil/dill. Add rice, stock, cayenne and salt. Bring to a boil, reduce heat to a simmer and cook for 17 minutes. Remove from the heat, uncover to release the steam. Let rest for 10 minutes.
Serves 4-6.