Migrate #document-list rules and remove diff rules