Setting up auto-rules for collections