public function on($name, $key, Closure $fn = null)
    {
        $name = strtolower($name);
        if ($key instanceof Closure) {
            $this->rules['event'][$name][''] = $key;
        } else {
            $this->rules['event'][$name][$key] = $fn;
        }
        return $this;
    }