Renamed current_dir to scope_dir.
Added emk.current_rule to get the currently executing Rule instance (only valid when executing a rule or its do_later functions).