protected function setPriceRule($rule_id)
    {
        $this->data_rule = array();

        if (is_numeric($rule_id)) {
            $this->data_rule = $this->price_rule->get($rule_id);
            if (empty($this->data_rule)) {
                $this->outputHttpStatus(404);
            }
        }
    }