Script for regenerating cgrules.conf file.