the one inch of fish rule is a load of rubbish. Could you get a 30 inch pleco in a 30 gallon tank? No. That rule also doesnt take into account fish waste. One goldfish produces more waste then 3 or 4 neon tetras put together, yet, in a tank that size, you couldnt have one goldfish.
IN a tank that size, its best to go with small fish such as tetras etc... you could reasonably have 8-10 in a tank that size, maybe even a few more if the tank has been matured for 6-8 months. Go for small waste producers.