add rule spreedsheet, change picking function