I don't really follow any "rules" when stocking. The "inches per gallon" rule is especially stupid. There's a lot to look at:
Minimum tank size required by each fish
Spacing between fish
Swimming level
Activity
Bioload
Compatibility, as territoriality and behavior can cut away swimming space
Me too, i completely agree with you

.
The whole 2 inches per gallon thing is wrong. It is one inch to every gallon and I am sorry, but to me that is too many fish in a 10 gallon and i am an experienced fish keeper. Let me know what you think.
I think the rules cant really be applied to modern aquariums, but are good for people just starting off.
All of the above come into it, plus the fact that some fish are much messier than others. The most famous example is a 12 gallon tank, you could have 12 1" fish or one 12" oscar right?

NO, but this is where rules like that can get dangerous.
As long as the fish are happy and healthy and the water stats are OK, then it doesn't matter how much fish there is.
My 16 gallon tank is a good example:
one Feather-fin Synodontis,
3 red eye tetras,
4 black neons,
2 white cloud mountain minnows,
2 marbled hatchets
and one small(at the moment) sailfin plec.
Though the syno and plec will DEFINATLY need a bigger tank soon (i'm getting one, and the plecs being rehomed), the fish are 100% healthy and my stats are ammonia-0ppm, nitrite-0ppm and nitrate-0-5ppm(nitrate sometimes a little higher if i skip a water change). According to the 'rules' i am overstocked, but because of all the filtration in my tank, i have a high bioload capability. My tanks pretty heavily planted too, so my nitrates are under control. I could easily more tetra sized fish if i wanted to (and i might) , since there is plenty of swimming room too.
I'm also going to be adding an external filter soon, so that can only help

.