added rule for group in xml