Text this: A New Rule-Based Classification Method Using Shape-Based Properties of Spectral Curves