Added rules for collections.