add

abstract fun add(rule: T): RulesBuilder<T>

Add rule to the collection.


fun add(vararg rules: T): RulesBuilder<T>

Add one or more rules to the collection.


fun add(rules: Collection<T>): RulesBuilder<T>

Add multiple rules to the collection.