Peter F. answered 07/21/22
Published Author; Kinder-College Writing Tutor w/ 18 Years' Experience
Technically, your writing above constitutes a sentence fragment/incomplete sentence.
The proper way to rewrite it grammatically would be:
This is a set of rules governing which strings are valid.
OR
A set of rules governing which strings are valid has been instituted.
I hope this helps!