Fix rule process, add expose(replace, template) support
Revert ORM.NULLABLE = True