Also adds support for hooking rules up to named zones. Fixes https://gitlab.com/kicad/code/kicad/issues/2041