modify notice directive and page action rules