rule for common typos

I am discovering rules and I'd like to know if there is a good existing rule for common typos according to a keyboard layout.

For example inversion of e and r due to proximity on the keyboard

Thank you
No, but it's a nice idea. That would be many rules, not just one. The 's' rule should be able to do it. Because of the number rules allowed in a ruleser per line you need to use one rule per line. The disadvantage is that passwords with multiple typos in the same password would not be found.
Ok thanks
I did a rough pass a while back, but it has exactly the limitations that atom described.