Sixth Amendment to Amended and Restated Credit Agreement among Rex Energy Corporation,