finishing the porting of node_is_type rule condition issue-2281117

Rules condition for testing if a node is of a certain type.
Unecessary extra line break. (After the closing bracket of the annotation).