Add rules support to pages