A federal judge ruled that the state of Kentucky is required to pay legal fees to couples who sued Rowan County clerk Kim Davis to attain marriage licenses.