title: Magento - get rule from coupon code
body: <p>I have to retrieve the rule associated to a coupon code in order to display in quote the discount percentage of that rule.
  the simplest way is to calculate directly from quote amounts, but i want to retrieve directly the rule and then get the discount percentage from it.</p>
  
  <p>this is what i tried:</p>
  
  <pre><code> $rule = Mage::getModel('salesrule/coupon');
   $rule-&gt;load($couponCode);
  </code></pre>
  
  <p>by this way i still havent retrieved rules attributes. any help?</p>
  
  <p>thanks.</p>