issues with rule filter are fixed. Also internal function issues fixed.
issues with rule filter are fixed. Also internal function issues fixed.

zhhb/node-rules,frauss/node-rules,ffarzat/node-rules,mithunsatheesh/node-rules,periloso/node-rules,ergh99/node-rules,jeansebbaklouti/node-rules,AvaNight/node-rules