refactor send_item test
making room for execute in rule generator
fixed a bug with roles