Better way of concatenating rules