refactor rule : remove LineCommand class