EndsWith

fun EndsWith(suffix: String, ignoreCase: Boolean = false): Rule

A rule that requires the input to end with suffix