add processing rules