Add setRule/setRules/appendRule
functions
#403
Merged
setRule/setRules/appendRule
functions
#403