Rational zeros theorem