title: Error Rule not found on RBAC DbManager Yii2
body: <p>I followed this guide (<a href="http://www.yiiframework.com/doc-2.0/guide-security-authorization.html" rel="nofollow">http://www.yiiframework.com/doc-2.0/guide-security-authorization.html</a>) but still got an error.</p>
  
  <p>I have created auth_item, auth_item_chid, auth_assignment, and auth_rule Table</p>
  
  <p>When i add this line to my controller</p>
  
  <pre><code>if (\Yii::$app-&gt;user-&gt;can('createPost')) {   //mycode ... }
  </code></pre>
  
  <p>i got error ->  Rule not found: author</p>
  
  <pre><code>protected function executeRule($user, $item, $params)
  {
      if ($item-&gt;ruleName === null) {
          return true;
      }
      $rule = $this-&gt;getRule($item-&gt;ruleName);
      if ($rule instanceof Rule) {
          return $rule-&gt;execute($user, $item, $params);
      } else {
          throw new InvalidConfigException("Rule not found: {$item-&gt;ruleName}");
      }
  }
  </code></pre>
  
  <p>I have assigned the user with a role in auth_item table, the auth_item already have auth_item_chid.
  On Yii2 all auth_item should set with rule_name. Thats the different with the previous version.</p>