implement processing instruction node rules