23 states have framed state labour codes and rules