Length rule now has an optional maximum, with smarter messages.