rename config to rule