By "rim", do you mean wheel ? The rim will have no affect on the chainline, but the hub will. Also, dishing the wheel will not fix anything if the hub axle spacing is off. Can you proivide more information ?
__________________
What, Me Worry? - Alfred E. Neuman
I'd like to think i have as much money as brains.
I see the light at the end of the tunnel, but the tunnel keeps getting longer - me