Fix parsing of the rule number in the pf log on FreeBSD 10.x, part of Bug #2122