(環境に仕立てるといったことはあとで適当にやればいいとして)
こんなんじゃダメなの?

\documentclass{article}
\begin{document}
\noindent
\rule{.4pt}{5pt}%
\leaders \hrule height5pt depth-4.6pt \hfill% \hrulefill を 4.6pt 持ちあげたもの
\rule{.4pt}{5pt}%
\begin{equation}
PV = nRT
\end{equation}

\noindent
\rule{.4pt}{5pt}%
\hrulefill
\rule{.4pt}{5pt}%
\end{document}