Extending Answer Set Programming with Rational Numbers