Add global rules handling