rules styles fix