Changed rule_match() to rule_strcmp(). Likewise for the