Melt the butter in a large skillet add onions and cook slowly, stirring occasionally until golden (do not burn).
Add rice, salt, pepper& thyme.
Stir in the chicken stock [or Vegetable stock for vegetarians], turn heat to low and cook uncovered for apprx 30 minutes stirring occasionally or until the rice is cooked and the broth is absorbed.