The Home Office has published a Statement of Changes in Immigration Rules which was presented to Parliament on 20 July 2017. The purpose of the statement is to make changes to the family Immigration Rules following the decision of the Supreme Court in the Case of MM (Lebanon) v SSHD  UKSC 10.
The Upper Tribunal having considered all the evidence and confined themselves to the issue of Article 15 (C) of the Qualification Directive, on the evidence presented, have held that the level of violence and the lack of proper government and laws in Libya is such that it meets the high threshold of Article 15 (c):
We have successfully represented clients with British children or parents with children who have spent more than 7 years in the UK. In one case our client’s had two children born in the UK.
Changing from No recourse to Public funds to Recourse to public funds on discretionary leave to remain23, Apr
Ordinarily the Home Office usually give people discretionary leave to remain with no recourse to public funds. However there is a process if changing this condition.