I used to have a similar problem with my Marlin 60. Different gun, but a lot of the semi auto rimfire rifles have similar mechanics. I tried different ammo, replacing various parts, cleaning, running it with different amounts of lubrication, etc, but couldn't get it worked out. Finally, I took some Mother's Mag aluminum polish and removed the bolt from the rifle, and polished the bolt to a semi-mirror finish, and then I polished the bolt guide rails in the receiver. The result was that the bolt slid much more smoothly in the receiver, causing a lower amount of friction and allowing everything to function more smoothly. I believe that the ammo was not cycling the bolt back far/hard enough. I was getting Failure to Feeds almost every 3 or 4 rounds. After doing this I've only taken it out once, it ran like a champ.
One other thing I tried, which may have also helped, was storing the rifle with the bolt locked open as far as it would go. This helped, I believe, to break in the recoil spring.
Hope this helps. Nothing more fun than a .22 semi auto. And nothing more frustrating than one that malfunctions frequently.