rule max length