In this, a radial magnetic field is produced between the pole-pieces of a magnet. The turns of the coil are at right angles to the field lines, so when a current passes through the coil it experiences a force to the
Alternately, there is a different version of the right-hand grip rule which applies to the solenoid
You also need to use what you know about the shape of the magnetic field in a solenoid. The two step right hand rule allows you to determine which direction the field points, but does not tell you the shape of the field.