Added rules editor script