add

fun add(text: String?, rule: Rule): String(source)

The store text with rule added, or replaced when its id is already there.