If error persists, reboot system.
Sometimes, copying rules from websites introduces "non-printing characters" that confuse the parser. pf configuration incompatible with pf program version