modify notice directive and page actoin rules