Chris Brown and Rihanna appear to be getting closer after swapping tweets and working on each other's songs.