Melt margarine in a small saucepan over medium heat. Add garlic; sauté 1 minute. Add rice; stir well. Add water and salt; bring to a boil. Cover, reduce heat, and simmer 20 minutes or until liquid is absorbed. Stir in green onions, basil, and thyme. Sprinkle with cheese; garnish with thyme sprigs, if desired.