For the left-hand rule, the current is the input and force is the output. That is, it tells you how to calculate the direction of ##\vec F = I \vec l \times \vec B## given a current moving in the direction of ##\vec l## in a field ##\vec B##. For the right-hand rule, the roles are switched. The motion (misleadingly called force in the diagram) is the input, and the current is the output. It tells you how the calculate the direction of ##\vec F = q \vec v \times \vec B##, the force exerted on a charge moving with velocity ##\vec v## in a magnetic field ##\vec B##. The force on the charge may cause the charge to move, producing a current.
Both rules are actually the Lorentz force law, but you have to identify the quantities in the problem correctly.