added rule for inputs in datatables