Update maid rules to remove deprecation warnings.