Convert rules
New replacerules.rules object: