Remove ability to reference enclosing rule by name, in favor of $ctx

Fixes #571