This functionality is included in Vassal 3.7 VASSAL Reference Manual
Allowing users to add their own optional rules is not strictly supported, however, you could add additional String Scenario Properties as free-text fields where players can type their own rule text in.
You can add a Toolbar button to open the Scenario Properties window in the Global Options component:
