Sweat the zucchini/courgettes and eggplant/aubergine. Fry until golden brown. Add the tomatoes and some seasoning, then cover and simmer for 30 mins, uncovering for the final 15 mins if using fresh tomatoes.
Heat oven to 200C/180C fan/gas 6. Meanwhile, cook the rice in a large pot of salted boiling water for 20 mins, or until tender. Drain and mix with the eggs and two-thirds of the cheese.
Put the zucchini/courgette and tomato mix in an ovenproof dish, with the garlic oil and chives mixed through. Spoon the rice mixture over and smooth it out. Sprinkle over the rest of the cheese. Bake for 30 mins until bubbling and golden.