def relevant?(action, subject, context = nil)
      subject = subject.values.first if subject.class == Hash
      @match_all || (matches_action?(action) && matches_subject?(subject) && matches_context(context))
    end
def relevant?(action, subject, context = nil)
      subject = subject.values.first if subject.class == Hash
      @match_all || (matches_action?(action) && matches_subject?(subject) && matches_context(context))
    end
Matches both the subject and action, not necessarily the conditions