RULE_CLEAR
if (*pattern == '\0' && type != RULE_CLEAR)
if (*pattern != '\0' && type == RULE_CLEAR)
case RULE_CLEAR:
{ RULE_CLEAR, '!', "clear" },