fixed playback interval, showing/hiding of side menu buttons in various modes, cleaned up Rule code