There isn't any one answer, but great rap lyrics are usually comprised of a certain set of characteristics that make them great.
They show a mastery of many skills and creativity - things like clever word-play, imagery, wittiness, metaphors, quality content and so on.