Initializes static rules for ajax validator.