Update detached-rulesets.md

Added scoping details and small introduction with simplest possible example.