Rinse rice and place in rice steamer with water. Steam rice while you prepare the remaining ingredients.
In saucepan over medium heat melt margerine. Add chopped onion and cook until transparent. Add soy sauce, sugar, garlic salt, pepper, stir well. Reduce heat. Add green beans and ham. Cover and simmer until rice is done in cooker.
Stir mixture into rice and serve as a side dish or a entree.