add rules css groups attributes