check if user rule is admin or root