Fixed 'bug' where an unfinished rule would give a double line change
Made syntax errors in interactive mode map to correct line