public function excludeByRule(Closure $rule)
    {
        $result = $this->target;

        foreach ($result as $key => $value) {
            if ($rule($key, $value)) {
                unset($result[$key]);
            }
        }

        return $result;
    }