fix south introspection to generate rules without syntax errors etc