protected function extractRules(array $data)
    {
        $rules = [];

        foreach ($data as $field => $fieldData) {
            $rules[$field] = $fieldData[1];
        }

        return $rules;
    }