Gets the global Rules implementation.
Gets the global Rules implementation.
If it's call inside of a withRules
context then it's a temporary
rule set, useful for writing isolated tests.
Changes the global rule set to instead return a local one.
Changes the global rule set to instead return a local one.
Takes the rules context with it when moved to a different thread via
Twitter concurrency primitives, like flatMap
on a
com.twitter.util.Future.