CatalogRule see article on http://magebrew.com/blog/custom-actions-in-magento-catalog-price-rules-price-rule-based-on-cost Magento module that adds Cost based catalog price rule