Added required imports to rule script