The Alien and Sedition Acts were passed and then repealed. I think you meant repealed, not rejected.
Yes, they were law and they were repealed. However, they have been completely rejected as one of the darkest mistakes of the early years of our country and once Judicial Review was established the Courts have made it clear that they would now be held unconstitutional.