import rule parser fix; more tests and again waring fixes
Authored by: rbri 2011-08-22
Parent: [r178]
Child: [r180]