Rule based dates for jquery ui datepicker.