protected function toLaravelRules(array $parsedRules)
    {
        $laravelRules = [];

        foreach ($parsedRules as $key=>$keyRules) {
            $laravelRules[$key] = [];

            foreach ($keyRules as $ruleName=>$parameters) {
                $separator = $parameters ? ':' : '';
                $laravelRules[$key][] = $ruleName.$separator.implode(',', $parameters);
            }
        }

        return $laravelRules;
    }