Seems you are looking at 'gmoccapy' documentation for using 'halui' pins.
Halui documentation is here:
linuxcnc.org/docs/html/man/man1/halui.1.html#Rapid%20Override
However you should really be using the pins provided by gmoccapy for this purpose.
If unsure comment all lines in your hal files that give errors and use the 'Halshow' tool on the Settings page of Gmoccpy.
Using 2.9.7 I get this (which seems to agree with the documentation for Gmoccapy):