Strenghtened scope protection for detached rulesets. #186