Added .rules, minor adjustments and optimizing

Added console-grouping, some simplifying/optimizing. Added schedule-tree
in NOVA. Added .rules-file, which are to be used as guidelines for
coders of this project.