Fix server error when viewing global rules