This is largely true for the JD; your LSAT and GPA will matter most, though the longer you are out of school, the more your work experience and LSAT score will count. For an international LL.M. candidate, your work experience (both quality and prestige of the position as well as your level of advancement over time), extracurriculars and other soft factors (publications? government appointments?) will be hugely important to the top programs.