public function getRulesFor($action, $resource)
    {
        $aliases = array_merge((array) $action, $this->getAliasesForAction($action));
        return $this->rules->getRelevantRules($aliases, $resource);
    }