The purpose of the proposed legislation, known as the "Refugees Using Legal Entry Safely Act" or "RULES Act," is to change the rules surrounding who can apply for asylum in the United States. The main objective is to tighten the eligibility requirements for asylum seekers, particularly focusing on those who arrive at U.S. ports of entry. Key provisions of the act include new rules for applying for asylum. It states that any person arriving at a U.S. port of entry can apply for asylum, but they cannot be released into the U.S. while their application is being processed.