replace 8 spaces to TAB in rules