Refactored line parsing
Added a rule for making the pipeline representation