A judge has agreed to modify the probation rules for a former pastor who spent three years in prison for lewd and lascivious acts with two girls while he was leading his church.