refactored printing of rete nodes
moved terminology note from rete to core
minor comment changes