changed argument order of pattern-matches

Want order to be consistent with rels.clj to support use of threading macros for sequencing operations