Patterns in rational base number systems