If we consider that the selfinductance is small, determine the current going through the circuit and the rods. Then ask yourself, what happens when current goes through a rod or wire? From that you can calculate the acceleration that the rods have.
Of course, depending on which level this is done on, you can go one step further and consider the current-carrying wires' effect on the rods, too.