changes for print rule and get API's