public function parse()
    {
        $this->rules = [];
        $parts = explode('|', $this->command);

        foreach ($parts as $part) {
            $segments = explode(':', $part);

            $this->rules[] = array(
                'name' => $segments[0],
                'args' => isset($segments[1]) ? explode(',', $segments[1]) : array()
            );
        }

        return $this->rules;
    }