renamed LineDecoder to LinePolicy