Yes, wires a-b and e-f would repel each other, but they are fixed in place, so they won't move anywhere. It sounds like you know the right hand rule.
Let's assume the current flows from a to f. In between wires a-b and e-f, in what direction does the magnetic field (B) point? Up. In what direction does the current through the bar (I) point? Into the page. The magnetic field will act on the current to produce a force (F), called the Lorentz force, which will be in the direction of the cross product I x B. You can use that other right hand rule (the one that looks like a gun with your middle finger pointing out) to figure out the direction of that cross product.
Here's a picture.