Moved logic for storing tagged background rule into scenario class