More work on UI, started with ruleset

Added first ruleset JSON (covering metatypes).

Added singletons for current character data and accessing rules.

Misc tab gets its ui filled with data from actual rules.