Add possibility of gs-compression, clean up rules.