Four-time Australian Open champion Roger Federer has made it through to the third round of the Grand Slam following a straight-sets win over American Noah Rubin.