update daterangepicker and coupledatepicker rules logic