If you've disabled the web gui anti-lockout rule for LAN, I think you can re-enable it by setting the LAN IP address from the console.

Well i don't really understand...

I did not disable "the web gui anti-lockout rule for LAN".
I did make a rule on the firewall configuration that disable all traffics from the LAN.
I've tried to set the LAN IP address with the console but i still can not access.
I did disable the firewall :
pfctl -d
But i still can't access to the webgui.
With which command could i modify the /tmp/rules.debug file, please ?
I tried emacs, vim, nano but these commands do not existe.
++