Fix hash rules do not work