added dependency resolving to every rule
added dependency building
fixing logic
working reactions processing, fixed few bugswith append function
debug mode off..