Bugfix #4

Fixed Rules groups critical bug