Regulatory Matters Affecting Distribution Planning With Distributed Generation