Add RBAC rule query unit tests.