Issue #3146668 by jastraat: Fix an error when adding a new rule on Drupal 9 fails with SchemaIncompleteException