Enh #3168 rbac cache

Proposal for #3168: rbac cache

I am really sure about this one - it looks a little ugly.
Why splitting the data into two cache items? And what about the rules data?