Add onions, garlic, rosemary, and thyme to the casserole dish and cook for 3 minutes. Add the wine and tomatoes. Simmer for 8 minutes or until the wine has reduced by about half. Return beef to the pot. Add stock and bring to gentle simmer (beef should be just covered with the liquid). Reduce to medium-low heat and simmer gently for 1½ hours, stirring occasionally.