title: Apply cart rules to programmatically created orders in magento
body: <p>I have created orders programmatically in magento and created cart rule from admin panel.
  Rule is if any orders subtotal is more than 200 then apply discount of 50.
  Now I want to check that if any cart rule is present, and if it is then check rule condition and apply rule to subtotal of order during order creation.
  Please help.
  Thanks in advance.</p>