public function mapRulesToAttributes()
    {
        foreach ($this->rules as $rule) {
            $params = explode(':', $rule);

            $this->attributes[reset($params)] = end($params);
        }
    }