After exploring the tool i found copy node could be done on the basis of standard pattern and replacement rules.
For some custom rules we need to rely on groovy scripts.
Regarding rules checkin through code thats is doable with adding all rules in a json format over the same location.