refactor dsl spec . add context spec.