clearly there is philosophy underlying logic rules. there is also clearly philosophy underlying all of science. that is why philosophy of science is so important. science may not be 'based on' philosophy in the strictest sense, but the scientific method certainly is. though i feel that science is actually based on philosophy, but i dont really want to argue that right now.