First doable version of rule viewer