Arithmetic properties of orbits of rational functions