Add escript rule