Halloumi is naturally rubbery until heated, so if yours is still rubbery you haven’t cooked it enough to get rid of that texture. However, halloumi is safe to consume raw as well, so it’s only really needed if you don’t like the rubbery texture.