I do think that Thatcher and Regan especially learned a lot from Rand and Hayek..
I can’t honestly answer about section 28 but she wasn’t one for discrimination- it was all down to people being individuals at the end of the day. No religion, no slaves to others she especially hated racism, bare in mind in her day there was plenty of open racism.
Thatcher believed in the free market at the end of the day and opened up the UK big time. Maybe not as laissez faire as rand believed in, but it was a good start.