public function renderImage()
    {
        $rules = array();
        foreach ($this->rules as $rule) {
            $rules[] = '[' . implode(", ", $rule) . ']';
        }
        $this->htmlOptions['data-interchange'] = implode(", ", $rules);
        return \CHtml::tag('img', $this->htmlOptions);
    }