who writes and passes bills and is it a part of treaties, military, or foreign aid?