Create Rule config entity to store rules

see https://www.drupal.org/node/2318637