Fix adding network in rule