modify rules