modify sendtocontroller rule