Thank you very much, the add-on worked very well, i love it.
The code you give me have an error ( Cannot use “self” when no class scope is active) on line:
$item->StartPrice->setTypeValue( self::dbSafeFloatval( $custom_price ) );
I hope in the next version we can set the price rule directly on “Edit product” page.