change validation methods

Change the old validation methods with VldRulesLib.js