Update renderRules.cpp

Introduce disable