Mince the onion and the garlic and slowly brown them for a few minutes in the same pan used for the aubergines, using a little oil if necessary. Add the drained rice, toss in the previously prepared eggplant pulp, a couple of tablespoons of lemon juice, and a sprinkling of Parmesan cheese (if you like it). Season with salt and pepper to taste.