By actually copying the Set the number of rulesets (i.e., anchors) directly attached to the
anchor informationand its path in pfctl_get_ruleset().
While here, add a test to document the newthis behavior.
PR: 290478
Fixes: 041ce1d690f1 ("pfctl: recursively flush rules and tables")