(defrule bind-complex-test-tables
    (unbound-table-instance (table-id ?output) (has schema test-complex))
    =>
    ; create a new modeler instance
    (create-modeler-instance)
    
    ; define the input table the current modeler instance needs
    (bind-input-table test-input)
    
    ; bind to the table, making it no longer unbound
    (bind-output-table ?output)
)
