added helper classes
updated rules
updated renderable
updated demo