StartsWith

fun StartsWith(prefix: String, ignoreCase: Boolean = false): Rule

A rule that requires the input to start with prefix