Rote classification doesn't require AI. You described a SELECT statement that was developed half a century ago