Archimedes Rules Repositoruy is an open source tool to extract client metadata and persist to SQL - see MetaRepos project for meta model