How many compression policy rules can be configured by virtual service?

There aren't any limit on compression policy rules, but it is limit to availabe memory.  It can be configured as many as possible, as long as there is enough memory available.