Sort all rules based upon properties. Only serialize new properties.