Ajith, it is not possible to enable/disable mod_rewrite within the script.
Your host probably meant that if something is being blocked by mod_security, then this "something" needs to be either disabled or changed in the script.
But it is not clear what your host is blocking. We need more details to help you.