I think having specific do and dont in religion limits the religions ability to adapt to changing times and situations, something that Hinduism can be proud of that it has survived such a long time while many religions have come and gone.
in Hinduism there are eternal Laws, time specific Laws change with time, but eternal Laws never change.
that is why it is known as "Sanatana Dharma", the eternal Law.
for example if there is a specific law against homosexuality in a religion, then (like what is happening now) these Laws will encroach on the liberty of a human being, the freedom of being human will be removed and the blame will be on GOD.
also with having specific Laws in religion the problem also comes when certain Laws that are applicable today as being inhuman/unethical for example the prohibition of such things as paedophilia, slavery, having concubines ect may not be prohibited in the Laws of a religious sect, that then becomes a dividing line between the believers and non believers as there is the way of GOD or against GOD thus causing Chaos and disharmony.
These situations label the Laws in a religion as inconsistent with the advancement of all human beings and limit the freedom of the victims of such crimes.
Social Laws are best when made by living beings for the betterment and advancement of all living creatures, with scope of personal freedom incorporated within, then any folly in these Laws dont require humans to re-write their religious texts to correctly represent all humanity or to Blame GOD for their misfortunes.
Just my thought.
OHM TATH SATH