[#1965] fix censor rule creation failure

Fixes #1965