Update d/rules to dh7 style