Bit/Bool confusion implementation
Removed RebuildVisitor concept, since it was no longer necessary
Fixed bool mode for functions