2. Replacement of common law rules.
(1) Subject to section 8, the duties, liabilities and rights provided for by this Act shall have effect in place of the duties, liabilities and rights which heretofore attached by the common law to occupiers of premises as such in respect of dangers existing on their premises to entrants thereon.
(2) This Act does not apply to a cause of action which accrued before the commencement of this Act.