Rings withS1-categorical theories