implement this function (simple as
```
# some doc
function check_rulenames {
    allnames=nlist();
    foreach (idx;rule;ARGV[0]) {
        name=rule['name'];
        if(exists(allnames[name]) {
        } else {

        };
    };
    true;
};