"Following the rules only to keep up appearances."
- "Following the rules on the surface."
"following the rules" 「従っている」"abiding by the rules" なども言えます。
"on the surface" 「表面的に」
- "Following the rules only to keep up appearances."
"only to keep up appearances" 「表面的に」
両方もルールをちゃんと従っていないと言うニュアンスがあります。
I've been basically following the COVID restrictions.
On a surface level, I have been following the guidelines regarding COVID.
この場合、次のように言うと自然な感じで良いかと思います。
ーI've been basically following the COVID restrictions.
「コロナの規則をおおむね守っています」
basically で「おおむね・大筋で」
もう少し日本語に近いような言い方にするなら、次のようにも言えます。
ーOn a surface level, I have been following the guidelines regarding COVID.
「表面的に、コロナに関するガイドラインを守っています」
on a surface level で「表面的に」と言えます。
ご参考まで!