Add rules for compressing files