youre not looking for something identical to what you need thats proven and works?
talk about wanting to recreate the wheel with a square rock.
both ways you thought of to handle rates are pretty poor and limiting
they dont handle volume, rulesets, campaigning, etc etc
you should also probably join commission junction and see how they do all this