title: Creating a shopping cart price rule in Magento automatically
body: <p>I'd like to create a shopping cart price rule that gives a user 10% off their order when and if they complete a process on my Magento site. </p>
  
  <p>There's a method <a href="http://www.magentocommerce.com/boards/viewthread/178767/#t229933" rel="noreferrer">here</a> that inserts the rule directly to the database.  That's a bit invasive for my tastes.</p>
  
  <p>How would I go about this using Magento methods?    </p>