When you say the chain rubs when it travels from one cog to the next, do you mean the pulleys on the derailleur? You will get a lot more help if you provide pictures illustrating what you a talking about. What did the bike shop mechanic have to say about the issue?