The rim needs dishing to align the wheel correctly, this means loosening the spokes about half or one turn on the side that is rubbing and then tightening the spokes on the other side the same turn amount. When done you should notice the rim has moved over, if it is not enough you have to do it...