Tip the rice into a large bowl and cover with cold water. Whisk for 1-2 mins till the water goes cloudy. Drain and rinse under cold water. Set aside.
Peel and dice the onion. Warm a large pan over a low heat for 1 min. Add 1 tbsp olive oil, the onion, the cinnamon stick and the cardamom pods. Season with a pinch of salt. Gently fry for 8-10 mins, till the onion is soft and translucent. Stir every so often.
While the onion fries, finely dice the tomato to match the onion. Peel and crush or grate the garlic. Pick the parsley leaves from the stalks. Set the leaves to one side. Chop the stalks. Coarsely grate the halloumi. Finely grate the zest from the lemon. Pour 500ml boiling water over the stock cube and stir well.
Add the tomato, garlic, parsley stalks, lemon zest and half the grated halloumi to the pan. Stir in 1 tsp ground ginger, the raisins, drained rice and stock.
Bring to the boil. Pop on a lid. Turn down to a gentle simmer and cook for 10 mins. The stock won't be completely absorbed after 10 mins, but once your timer goes off turn the heat off. Don't take off the lid, and let the pan of pilaf stand for 10 mins. This will finish cooking the pilaf.
While the pilaf is resting, warm a dry frying pan over a medium heat. Tip in the walnut halves and toast for 2-3 mins. Remove from the pan so that they don’t burn. Set aside.
Cut the pear into quarters and slice out the core. Thinly slice the pear. In a mug or small bowl, whisk 1 tbsp olive oil with 1 tbsp red wine vinegar and a pinch of salt. Tumble the pear and rocket into a bowl and toss with the dressing.
Fluff up the pilaf using a fork, fishing out the cinnamon stick if you spot it. Cut the lemon into quarters and squeeze two over the pilaf. Stir in the remaining halloumi cheese. Roughly chop the walnuts and parsley leaves and add them too. Serve the pilaf with the remaining lemon wedges and the salad on the side.