Prepare rice in boiling salted water according to package instructions. Bring strained tomatoes and stock to the boil and season with salt, pepper and sugar. Wash the thyme, dab dry and chop the leaves from one stalk.
Cut the ham into strips. Add chopped thyme to the soup and serve. Add rice and ham strips to the soup. Garnish with remaining thyme.