If I remove it then all works again. If I change from litespeed to apache and try it again with the rules all works fine.
Very strange. any ideas?
Did you confirm that modsecurity works (is complied and compliant) with litespeed? It can be that the module doesn't work or is misconfigured. How did you add the module, manually or via a control panel or web-min?