In a literal sense, the term "Rotten Apple" is a nickname for New York City, for obvious reasons.
In a symbolic sense, however, it could be a much deeper metaphor, meaning a negative, angry, depressed, or confused state of mind. "Dwellin' in the rotten apple, you get tackled, or caught by the devil's lasso..."
It could also be a metaphor for deadly games & habits such as drug addiction, pomiscuous sex, alcoholism, anorexia, etc.
This line is a perfect example of elite lyricism, portrayed by an elite rapper, spawned from true talent, skill, and understanding for Hip Hop. It has a literal sense that the vast majority of people can relate to - it is easy to understand - it is creatively soken to sound pleasing to the ear of the listener - and it also has a fascinating "iceberg" below the surface that can be explored by those who are passionate fans of hip hop, writing, and music.
-His rhymin' is a vitamin.
or caught by the devil's lasso, shit is a hassle/
an offensive term for a teenager who has disciplinary problems, mainly in school, and is being rebellious against their parents.
Becky: Lol. im not a rotten apple, mom. all i do in terms of rebellion is dye my hair purple and listen to rock music; in school my disciplinary problems amount to, at most, me fighting off some bastards of the male gender. you as my computer illiterate simply don't understand the children and teenagers of our generation.