Allow rules to be run on entire document