Pricing Rule (sales price based on purchase price)

Hi All
i need to setup pricing rule based on the cost of item
Example:
if material cost 10$ for item A
I need to automatically calculate the price in selling order - 12 $
Any Help ?