moved to weighted hashes for rules so merges work