Debian-specific file names.

--- a/extras/rule_generator/write_net_rules
+++ b/extras/rule_generator/write_net_rules
@@ -16,9 +16,9 @@
 # under the terms of the GNU General Public License as published by the
 # Free Software Foundation version 2 of the License.
 
-RULES_FILE='/etc/udev/rules.d/70-persistent-net.rules'
+RULES_FILE='/etc/udev/rules.d/z25_persistent-net.rules'
 
-. /lib/udev/rule_generator.functions
+. /lib/udev/hotplug.functions
 
 interface_name_taken() {
 	local value="$(find_all_rules 'NAME=' $INTERFACE)"
--- a/extras/rule_generator/write_cd_rules
+++ b/extras/rule_generator/write_cd_rules
@@ -11,9 +11,9 @@
 # under the terms of the GNU General Public License as published by the
 # Free Software Foundation version 2 of the License.
 
-RULES_FILE="/etc/udev/rules.d/70-persistent-cd.rules"
+RULES_FILE="/etc/udev/rules.d/z25_persistent-cd.rules"
 
-. /lib/udev/rule_generator.functions
+. /lib/udev/hotplug.functions
 
 find_next_available() {
 	raw_find_next_available "$(find_all_rules 'SYMLINK+=' "$1")"
