Add data structures and functions to represent and manipulate RRs