ferm-mode for *.rules