Fix some faulty rules