This is a quick one for advanced users, and was inspired by a recent question I answered over at StackOverflow.
One of the nice things about a well abstracted system like Magento is the opportunities it presents for meta-programming. Drop the following code in a controller action (yes, you can define an inner function in PHP)
$coupon = Mage::getModel('salesrule/rule')->load(1);
foreach($value as $v)