dynbonusrate: set dynamic bonus through a function

Just like dynprobx and dynalloc! the function dynbonusrate can be
specified outside the module