Melt margarine in a pot. Saute onion until lightly browned.
Pour in beef broth and consomme. Bring to a boil and remove from stove.
Add rice and mix. Pour ingredients into casserole dish and cover with a glass cover or tin foil.
Bake on 375° for 45 minutes.