in reactor/Core/src/jetbrains/mps/logic/reactor/core/internal/ReteRuleMatcherImpl.kt [551:558]
fun removeAllWith(id: Int) {
if (index.contains(id)) {
for (s in index[id]) {
signatures.remove(s)
}
index.remove(id)
}
}