Rugers are good, cheap pistols. They aren't perfect. But, the entire gun can be replaced with aftermarket parts.
If you want something a little better out of the box, check out Browning Buckmarks. While not perfect, without aftermarket parts, it can be tuned to be very sweet.
The S&W model 41 is still the nicest US made 22 lr pistol currently made.
The Ruger MK series, ßrowning BuckMark, and S&W model41 each have their strengths and weaknesses.
The S&W 41 is great. It is not cheap and aftermarket support is the most limited of the 3. They have an awesome trigger. They are generally set up for standard velocity ammo. They are the easiest to teardown and also support a quick cleaning on the range. Everything about the gun is top notch.
The BuckMarks are usually in the middle regarding price, and it shows. They have far superior triggers, compared to the Rugers, without spending a dime. They yield a great trigger. Those that have a mag disconnector are super easy to remove. (3 minutes or less) They are easy to clear and clean between cycles on the range. While simple to teardown, it impacts the way the sights are mounted and their alignment. But they do respond very well to cleaning without disassembly. They do have good aftermarket support, but not close to the Rugers. Few models are available at a time from ßrowning.
The basic Ruger MK design has been around for over 55 years and inspired the 22/45. While the MK series offers a steel lower with a grip angle much like a P08 Luger,the 22/45 has a lighter polymer frame with a 1911 angle and feel. One can change the grips on the MK series. Neither has a great trigger, (or what I would even call good, but maybe functional), but both have incredible aftermarket support. Neither is as easy as the S&W and ßrownings to do a quick scrub and clear. But, you can completely tear it down and reassemble one without impacting the sights, unlike the ßrownings. The barrels can be more involved to replace as they are the gun, the serialized component. On the other hand, there are always more models available at any time and at a lower price than the ßrownings. Aftermarket support is through the roof, just like the 10/22.
A lot of the views as to which is best between the Rugers and the ßrownings are subjective. In some ways, the Ruger Mark series is like the AK, both using steel lowers while the ßrownings and ARs use aluminum lowers. But, the Ruger, like the AR, is the Lego set or Erector Set of the gun world.
As an afterthought, I'd like to point out that safeties on the S&W, ßrowning, and Ruger MK series seem to be an afterthought. However, the ßrowning seems to have the most substantial safety and easiest to use.