A district court has enjoined New Jersey from enforcing a rule that would exclude churches from certain preservation funds.