Add the garlic and chilli to the pan. Once the oil has started to take on colour from the chorizo, add the block of halloumi, a sprig of rosemary and the tomatoes around the edges of the pan. Once a golden colour has formed on the halloumi place in the oven.