Basis

New basis and StartRules function (w/o loops and if () )