I don't know how to solve the final level as logically. I feel that the combination of line-restriction and liar-rule seems it can only be solved by brute force.
And please make it possible to access all levels through level select. Even when I want to play only the last level, I had to start from the first level of that chapter again, which is not a good experiment.