minor fixes of debugger.
bug fix of form generator.
finished rule generation for model generator.