Rule generation is done, need to save each rule so it can be deleted.