Modify rules that use metrics