Improve parameters check for rule_group
Improve parameters check for rule_group

The error was not reported in the user code and not checking everything.

Wingless-Archangel/haka,haka-security/haka,nabilbendafi/haka,LubyRuffy/haka,haka-security/haka,nabilbendafi/haka,Wingless-Archangel/haka,lcheylus/haka,haka-security/haka,nabilbendafi/haka,lcheylus/haka,lcheylus/haka,LubyRuffy/haka