// you can also remove existing rules on the fields with rules('remove', 'ruleName')
if ($("#ship-phone").length > 0) {
    $("#ship-phone").rules("add", { phoneCA: true });
}
if ($("#ship-state").length > 0) {
    var label = $("label[for='ship-state']").html();
    $("label[for='ship-state']").html(label.replace('State', 'Province'));
    $("#ship-state").rules("add", { state_ca: true });
}
if ($("#ship-postal").length > 0) {
    $("#ship-postal").rules("add", { postal_ca: true });
}
