some cleanup (backups rotpimage.cpp)
re-adding line-rule checking