No they are not. Not even close.
The federal LAWS all favour the rich, because the rich people wrote those laws. The rich seem to operate on the belief that what is good for THEM, is good for everybody. Both parties are forced by federal laws to limit their size and scope, forcing them to rely on the private sector for almost everything outside of law enforcement. There's also certain criteria a company has to achieve to do business with the feds, that blocks new or small businesses from bidding for government contracts, which favour largers, well funded, long standing corporations, pretty much blocking out newer, younger applicants, and those with less capital to work with.
The tax and business laws which you rightfully say "favour the rich" have all been written since 1980, when Reagan was elected, and rewrote the tax and labour laws. All of the laws which funnel 80% of the wealth of the nation to the top 10% were all written by Republicans. Instead of increasing the minimum wage, Republicans increased the "earned income credits", which gave America's wealth corporations a substantial wage subsidy for minimum wage workers, at the expense of working and middle class Americans.
Since Reagan, when Democrats have won the White House, the Republicans use the Senate Filibuster rules, to stop Democrats from changing the tax or labour laws in any meaningful way, and Democrats haven't had a super-majority in the Senate to pass meaningful changes to the tax or labour laws.
Trump's tax cuts, which limited the amount of state and local taxes deductible from your federal income, really hurt New York and California, both of which have high state and local taxes, because they provide great value to low income citizens.