CreateEndsWithRule Method