some classes to show how create rules group in php