diff --git a/src/js/assayJS.tw b/src/js/assayJS.tw
index 103dc89201409c3938e5bde566c7b835640dc5ad..cfba57aac4b4522b9b13e7ef97594fff1c391564 100644
--- a/src/js/assayJS.tw
+++ b/src/js/assayJS.tw
@@ -232,3 +232,123 @@ window.properTitle = function properTitle() {
 	else if (PC.title !== 0) return "Sir";
 	else return "Ma'am";
 };
+
+window.emptyDefaultRule = function emptyDefaultRule() {
+	const id = generateNewID();
+	return {
+		ID: id,
+		name: `Rule ${id}`,
+		condition: {
+			function: false,
+			data: {},
+			excludeSpecialSlaves: false,
+			assignment: [],
+			excludeAssignment: [],
+			selectedSlaves: [],
+			excludedSlaves: [],
+			facility: [],
+			excludeFacility: [],
+		},
+		set: {
+			releaseRules: "no default setting",
+			clitSetting: "no default setting",
+			clitSettingXY: "no default setting",
+			clitSettingXX: "no default setting",
+			clitSettingEnergy: "no default setting",
+			speechRules: "no default setting",
+			clothes: "no default setting",
+			collar: "no default setting",
+			shoes: "no default setting",
+			virginAccessory: "no default setting",
+			aVirginAccessory: "no default setting",
+			vaginalAccessory: "no default setting",
+			aVirginDickAccessory: "no default setting",
+			dickAccessory: "no default setting",
+			bellyAccessory: "no default setting",
+			aVirginButtplug: "no default setting",
+			buttplug: "no default setting",
+			eyeColor: "no default setting",
+			makeup: "no default setting",
+			nails: "no default setting",
+			hColor: "no default setting",
+			hLength: "no default setting",
+			hStyle: "no default setting",
+			pubicHColor: "no default setting",
+			pubicHStyle: "no default setting",
+			nipplesPiercing: "no default setting",
+			areolaePiercing: "no default setting",
+			clitPiercing: "no default setting",
+			vaginaLube: "no default setting",
+			vaginaPiercing: "no default setting",
+			dickPiercing: "no default setting",
+			anusPiercing: "no default setting",
+			lipsPiercing: "no default setting",
+			tonguePiercing: "no default setting",
+			earPiercing: "no default setting",
+			nosePiercing: "no default setting",
+			eyebrowPiercing: "no default setting",
+			navelPiercing: "no default setting",
+			corsetPiercing: "no default setting",
+			boobsTat: "no default setting",
+			buttTat: "no default setting",
+			vaginaTat: "no default setting",
+			dickTat: "no default setting",
+			lipsTat: "no default setting",
+			anusTat: "no default setting",
+			shouldersTat: "no default setting",
+			armsTat: "no default setting",
+			legsTat: "no default setting",
+			backTat: "no default setting",
+			stampTat: "no default setting",
+			curatives: "no default setting",
+			livingRules: "no default setting",
+			relationshipRules: "no default setting",
+			standardPunishment: "no default setting",
+			standardReward: "no default setting",
+			diet: "no default setting",
+			dietCum: "no default setting",
+			dietMilk: "no default setting",
+			muscles: "no default setting",
+			XY: "no default setting",
+			XX: "no default setting",
+			gelding: "no default setting",
+			preg: "no default setting",
+			growth_boobs: "no default setting",
+			growth_butt: "no default setting",
+			growth_lips: "no default setting",
+			growth_dick: "no default setting",
+			growth_balls: "no default setting",
+			aphrodisiacs: "no default setting",
+			autoSurgery: 0,
+			autoBrand: 0,
+			pornFameSpending: "no default setting",
+			dietGrowthSupport: 0,
+			eyewear: "no default setting",
+			setAssignment: "no default setting",
+			facilityRemove: false,
+			removalAssignment: "rest",
+			surgery_eyes: "no default setting",
+			surgery_lactation: "no default setting",
+			surgery_prostate: "no default setting",
+			surgery_cosmetic: "no default setting",
+			surgery_accent: "no default setting",
+			surgery_shoulders: "no default setting",
+			surgery_shouldersImplant: "no default setting",
+			surgery_boobs: "no default setting",
+			surgery_hips: "no default setting",
+			surgery_hipsImplant: "no default setting",
+			surgery_butt: "no default setting",
+			surgery_faceShape: "no default setting",
+			surgery_lips: "no default setting",
+			surgery_holes: "no default setting",
+			surgery_hair: "no default setting",
+			surgery_bodyhair: "no default setting",
+			underArmHColor: "no default setting",
+			underArmHStyle: "no default setting",
+			drug: "no default setting",
+			eyes: "no default setting",
+			pregSpeed: "no default setting",
+			bellyImplantVol: -1,
+		}
+	};
+};
diff --git a/src/js/rulesAssistantOptions.tw b/src/js/rulesAssistantOptions.tw
index 7102359e32e1c053f8f68293c7210fa601969593..d01ec02026e99699b5f2098e5811559a4021b3d5 100644
--- a/src/js/rulesAssistantOptions.tw
+++ b/src/js/rulesAssistantOptions.tw
@@ -26,124 +26,9 @@ window.rulesAssistantOptions = (function() {
 
 	// create a new rule and reload
 	function newRule(root) {
-		const id = generateNewID();
-		V.defaultRules.push({
-			ID: id,
-			name: `Rule ${id}`,
-			condition: {
-				function: false,
-				data: {},
-				excludeSpecialSlaves: false,
-				assignment: [],
-				excludeAssignment: [],
-				selectedSlaves: [],
-				excludedSlaves: [],
-				facility: [],
-				excludeFacility: [],
-			},
-			set: {
-				releaseRules: "no default setting",
-				clitSetting: "no default setting",
-				clitSettingXY: "no default setting",
-				clitSettingXX: "no default setting",
-				clitSettingEnergy: "no default setting",
-				speechRules: "no default setting",
-				clothes: "no default setting",
-				collar: "no default setting",
-				shoes: "no default setting",
-				virginAccessory: "no default setting",
-				aVirginAccessory: "no default setting",
-				vaginalAccessory: "no default setting",
-				aVirginDickAccessory: "no default setting",
-				dickAccessory: "no default setting",
-				bellyAccessory: "no default setting",
-				aVirginButtplug: "no default setting",
-				buttplug: "no default setting",
-				eyeColor: "no default setting",
-				makeup: "no default setting",
-				nails: "no default setting",
-				hColor: "no default setting",
-				hLength: "no default setting",
-				hStyle: "no default setting",
-				pubicHColor: "no default setting",
-				pubicHStyle: "no default setting",
-				nipplesPiercing: "no default setting",
-				areolaePiercing: "no default setting",
-				clitPiercing: "no default setting",
-				vaginaLube: "no default setting",
-				vaginaPiercing: "no default setting",
-				dickPiercing: "no default setting",
-				anusPiercing: "no default setting",
-				lipsPiercing: "no default setting",
-				tonguePiercing: "no default setting",
-				earPiercing: "no default setting",
-				nosePiercing: "no default setting",
-				eyebrowPiercing: "no default setting",
-				navelPiercing: "no default setting",
-				corsetPiercing: "no default setting",
-				boobsTat: "no default setting",
-				buttTat: "no default setting",
-				vaginaTat: "no default setting",
-				dickTat: "no default setting",
-				lipsTat: "no default setting",
-				anusTat: "no default setting",
-				shouldersTat: "no default setting",
-				armsTat: "no default setting",
-				legsTat: "no default setting",
-				backTat: "no default setting",
-				stampTat: "no default setting",
-				curatives: "no default setting",
-				livingRules: "no default setting",
-				relationshipRules: "no default setting",
-				standardPunishment: "no default setting",
-				standardReward: "no default setting",
-				diet: "no default setting",
-				dietCum: "no default setting",
-				dietMilk: "no default setting",
-				muscles: "no default setting",
-				XY: "no default setting",
-				XX: "no default setting",
-				gelding: "no default setting",
-				preg: "no default setting",
-				growth_boobs: "no default setting",
-				growth_butt: "no default setting",
-				growth_lips: "no default setting",
-				growth_dick: "no default setting",
-				growth_balls: "no default setting",
-				aphrodisiacs: "no default setting",
-				autoSurgery: 0,
-				autoBrand: 0,
-				pornFameSpending: "no default setting",
-				dietGrowthSupport: 0,
-				eyewear: "no default setting",
-				setAssignment: "no default setting",
-				facilityRemove: false,
-				removalAssignment: "rest",
-				surgery_eyes: "no default setting",
-				surgery_lactation: "no default setting",
-				surgery_prostate: "no default setting",
-				surgery_cosmetic: "no default setting",
-				surgery_accent: "no default setting",
-				surgery_shoulders: "no default setting",
-				surgery_shouldersImplant: "no default setting",
-				surgery_boobs: "no default setting",
-				surgery_hips: "no default setting",
-				surgery_hipsImplant: "no default setting",
-				surgery_butt: "no default setting",
-				surgery_faceShape: "no default setting",
-				surgery_lips: "no default setting",
-				surgery_holes: "no default setting",
-				surgery_hair: "no default setting",
-				surgery_bodyhair: "no default setting",
-				underArmHColor: "no default setting",
-				underArmHStyle: "no default setting",
-				drug: "no default setting",
-				eyes: "no default setting",
-				pregSpeed: "no default setting",
-				bellyImplantVol: -1,
-			}
-		});
-		V.currentRule = V.defaultRules[V.defaultRules.length-1];
+		const rule = emptyDefaultRule();
+		V.defaultRules.push(rule);
+		V.currentRule = rule;
 		reload(root);
 	}