This law dictates that forces always occur in interacting pairs. When a machine exerts a force on a workpiece, the workpiece exerts the exact same force back onto the machine structure. It is the reason thrust bearings are required on propeller shafts and why heavy machinery must be bolted to the floor to prevent it from pushing itself backward.
You forgot Newton's third law; when the cylinder pushes the ram out, it's going to rip the mounting bracket right off the wall.
Related terms
Force pair
Two forces of equal magnitude acting in opposite directions on interacting bodies.
Newton's first law
The principle that a body remains at rest or in uniform motion unless acted upon by a net external force.
Newton's second law
The principle that the force applied to a body equals its mass multiplied by its acceleration.