Mix peas, ham, tomatoes, onion and pepper. Bring to boil. Add rice. Cover and let rest 5 minutes. Season with salt and pepper. Stir and pour into oiled casserole. If dry add small amount of water. Bake at 350 degrees for 45 minutes.
There should be enough liquid in peas and tomatoes to cook rice. If not, add some water.