Added failsafe for pbv values in tools.js template and fixed the 1k, 750 and 500 rulesets.