Boil the rice until tender. Strain it from the water and let it dry about 30 minutes.
Preheat oven to 375°F.
Pour the rice in a large mixing bowl, add all remaining ingredients without the olive oil and the flour. Mix well. Brush the baking pan with the oil, sprinkle with the flour and transfer the rice mix in it. Brush even the top of the mix with olive oil. Cook about 30 minutes.
It can be eaten cold as an appetizer or warm as a main dish.