parseRule :: GenParser Char st Rule
parseRule =
  do t <- parseTarget
     char ':'
     s <- parseSources
     eol
     cmds <- parseCommands
     spaces
     return Rule {target = t, sources = s, commands = cmds}

--Parses a newLine
parseRule :: GenParser Char st Rule
parseRule =
  do t <- parseTarget
     char ':'
     s <- parseSources
     eol
     cmds <- parseCommands
     spaces
     return Rule {target = t, sources = s, commands = cmds}

--Parses a newLine
parseRule =
  do t <- parseTarget
     char ':'
     s <- parseSources
     eol
     cmds <- parseCommands
     spaces
     return Rule {target = t, sources = s, commands = cmds}

--Parses a newLine