Removed redundandt function. Removed initial func/rules, load them from examples if no rules/func present.