Above rule will disable it globally. however, you can customize the rewrite to disable gzip selectively.
I am setting up w3 total cache on my sites and it seems to require that the zlib output compression be turned off. I applied this to my .htaccess and while the site did continue working w3 total cache still says that it is on. Any suggestions to a novice in using .htaccess or changing the PHP files?