refactoring names from regex_flag to evaluation_rules_flag