Added Length rule

A simple rule created to truncate a string to a configurable maximum length.