add tri rules