Rational Curves on Foliated Varieties