fix rule constructor to comply with new rule initialization
fix imports