js validation, added a rate config for the default reward rate.