Cannot connect to X server fix
Logger added
Engine<>Rules refactoring