Andrey Rublev progressed into the quarter-finals of the Canadian Open with a comfortable win against Brandon Nakashima.