lines2insns: Implemented filtering of the instructions