Updated Relationship class #19

to store with and pattern clause